package OracleDB;

import java.sql.CallableStatement;
import java.sql.Connection;

public class CallatableTest {
 CallableStatement cstmt= null;
 public  CallatableTest() {
 
	 Connection con= new OracleDB().getConn();
	
	try{
		String sql ="{Call emp_update(?,?,?)}";
				cstmt= con.prepareCall(sql);
				cstmt.setInt(1,1);
				cstmt.setInt(2,3);
				cstmt.setInt(3,11);
				cstmt.execute();
	}catch(Exception ex){
		ex.printStackTrace();
	}
 }
}
	


